package com.xucranger.ojapi.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.xucranger.ojapi.enity.DTO.StudentQueryDTO;
import com.xucranger.ojapi.enity.domain.Student;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.mybatis.spring.annotation.MapperScan;

import java.util.List;

/**
* @Entity com.xucranger.ojapi.enity.domain.Student
*/

@Mapper
public interface StudentMapper extends BaseMapper<Student> {


    List<Student> queryByPage(Page page, @Param("queryDTO") StudentQueryDTO queryDTO);


    void deleteByIdList(String[] idList);


    String getStuname(StudentQueryDTO queryDTO);
}
